package Game;

public class intStuff {

	public class intAnd implements intOp {
		public int op(int a, int b) {
			return a & b;
		}
	}

	public interface intComp {
		public boolean comp(int a, int b);
	}

	public class intEq implements intComp {
		public boolean comp(int a, int b) {
			return a == b;
		}
	}

	public class intFirst implements intOp {
		public int op(int a, int b) {
			return a;
		}
	}

	public class intGt implements intComp {
		public boolean comp(int a, int b) {
			return a > b;
		}
	}

	public class intGtEq implements intComp {
		public boolean comp(int a, int b) {
			return a >= b;
		}
	}

	public class intLt implements intComp {
		public boolean comp(int a, int b) {
			return a < b;
		}
	}

	public class intLtEq implements intComp {
		public boolean comp(int a, int b) {
			return a <= b;
		}
	}

	public class intNonZero implements intComp {
		public boolean comp(int a, int b) {
			return (a != 0) && (b != 0);
		}
	}

	public interface intOp {
		public int op(int a, int b);
	}

	public class intOr implements intOp {
		public int op(int a, int b) {
			return (a | b);
		}
	}

	public class intSecond implements intOp {
		public int op(int a, int b) {
			return b;
		}
	}

	public class intXor implements intOp {
		public int op(int a, int b) {
			return a ^ b;
		}
	}
}
